package com.open.capacity.reptile.dao;

import com.open.capacity.reptile.entity.GdszczMaEleAcco;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
/**
 * 会计科目
 * 
 * @author 
 * @email 
 * @date 2023-10-07 10:54:28
 */
@Mapper
public interface GdszczMaEleAccoDao  {

    int save(GdszczMaEleAcco gdszczMaEleAcco);

    int delete(String id);

    GdszczMaEleAcco findById(String id);

    int exists(String id);

    List<GdszczMaEleAcco> findAll(Map<String, Object> params);

    String[] findChildCodes(@Param("companyId") String companyId, @Param("ztId") String ztId, @Param("kjnd") Integer kjnd, @Param("codes") String[] codes);

}
